import BaseService from "@/service/base";

class langReport extends BaseService {
	// 列表
	list(params) {
		return this.$get("/onsale/ad/adreport", {
			params
		})
	}

	// 日志
	logList(params) {
		return this.$get("/onsale/ad/advist", {
			params
		}).then(res => {
			return {
				list: res.data,
				pagination: {
					...params,
					total: res.total
				}
			};
		});
	}
}

export default langReport
